<?php 
class AclRolesModel extends Zwei_Db_Table
{
	protected $_name = "acl_roles";
	
	public function select(){
		$select=new Zend_Db_Table_Select($this);
		//[TODO] esto está en duro, debiera ser dinámico via campo root en acl_roles
		Zwei_Utils_Debug::write($this->_user_info);
		if($this->_user_info->acl_roles_id != '1'){
			$select->where('id <> ?', '1');
		}
		
		return $select;		
	}
}
